package com.app.service;


import com.app.model.ConfigModel;
import com.app.model.LivePortendModel;
import com.app.model.QuestionnaireInvestigationModel;
import com.app.vo.HelpCountVo;
import com.app.vo.UnemploymentSituationVo;
import com.app.vo.ValueAndNameVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Description: ***
 * @Author: N
 * @Date: 2022年11月24日10点26分
 */
public interface QuestionnaireInvestigationService {


    Integer insert(QuestionnaireInvestigationModel model);

    void update(QuestionnaireInvestigationModel model);
    Page<QuestionnaireInvestigationModel> modelPage(QuestionnaireInvestigationModel model);
    QuestionnaireInvestigationModel getModelByIdCard(String idCard);

    QuestionnaireInvestigationModel getModelById(Integer id);

    Integer selectMale();

    Integer selectFemale();

    int[] selectAgePercent();

    List<QuestionnaireInvestigationModel> selectWishWorkCount();

    List<QuestionnaireInvestigationModel> selectTrainWork();

    Integer agriculture();

    Integer CollegeGraduates();

    Integer veteran();

    Integer industrial();
    Integer deformedMan();
    Integer ruralLaborersCount();

    Integer workWillingCount();

    Integer cityNoWorkCount();

    Integer cityCount();

    Integer[] Unemployed();

    Integer getHelpThreeCount();

    UnemploymentSituationVo getHandleSituation();

    Page<QuestionnaireInvestigationModel> ruralList(Integer page ,Integer limit,Integer streetId);

    Page<QuestionnaireInvestigationModel> unemployedList(Integer page, Integer limit,Integer streetId);

    Page<QuestionnaireInvestigationModel> intentionsList(Integer page, Integer limit,Integer streetId);

    List<QuestionnaireInvestigationModel> unemployedPost();
    UnemploymentSituationVo getWorkSituation();

    void importData(MultipartFile file);

    List<QuestionnaireInvestigationModel> getHelpModelList();

    HelpCountVo getHelpCount();

    Integer allCount();

    List<QuestionnaireInvestigationModel> ruralAndCityList(Integer type);
}
